import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('user', () => {
  let data = ref({
    names: localStorage.getItem('names'),
    imgs: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'
  })

  return { data }
})
